//
//  Student.m
//  Super
//
//  Created by 崔博 on 2018/8/3.
//  Copyright © 2018年 崔博. All rights reserved.
//

#import "Student.h"
#import <objc/runtime.h>
@implementation Student

struct objec_super {
    __unsafe_unretained _Nonnull id receiver;
//    __unsafe_unretained _Nonnull id Class super_class;
};
- (instancetype)init
{
    self = [super init];
    if (self) {
        NSLog(@"%@",[self class]);
        NSLog(@"%@",[self superclass]);
        NSLog(@"%@",[super class]);
        NSLog(@"%@",[super superclass]);
    }
    return self;
}
- (void)run
{
    [super run];
    
//    struct objec_super arg = {self,[Pserson class]};
}
- (Class)class
{
    return object_getClass(self);
}
@end
